aboutsummaryrefslogtreecommitdiff
path: root/src/app/manga/[title]/page.jsx
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-04-18 21:43:02 +0530
committerreal-zephex <[email protected]>2024-04-18 21:43:02 +0530
commitec888b9bec997456368d03579e569929f3745307 (patch)
tree0932acf009654212c4fe4663858482cd22ab7bd8 /src/app/manga/[title]/page.jsx
parentminor fixes (diff)
downloaddramalama-ec888b9bec997456368d03579e569929f3745307.tar.xz
dramalama-ec888b9bec997456368d03579e569929f3745307.zip
feature added: tracker for mangas
Diffstat (limited to 'src/app/manga/[title]/page.jsx')
-rw-r--r--src/app/manga/[title]/page.jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/app/manga/[title]/page.jsx b/src/app/manga/[title]/page.jsx
index 0602ad9..589ff53 100644
--- a/src/app/manga/[title]/page.jsx
+++ b/src/app/manga/[title]/page.jsx
@@ -1,13 +1,16 @@
import styles from "./title.module.css";
import Image from "next/image";
import Link from "next/link";
+import { PreFetchMangaInfo } from "../cacher";
-// This page displays all the available mangas or manhwas when the user searches for one/
+// This page displays all the available mangas or manhwas when the user searches for one/
export default async function MangaInfo({ params }) {
const title = params.title;
const data = await GetSearchedAnime(title);
+ PreFetchMangaInfo(data);
+
return (
<div className={styles.Main}>
<div className={styles.MangaContainer}>